package LawsonTransformJava.data;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TblPayMastr extends TblDate {
	public String bank_code	 	= null;
	public Date check_date		= null;
	public int check_id	 		= 0;
	public int check_nbr	 	= 0;
	public float check_net	 	= 0;
	public String check_type	= null;
	public int company			= 0;
	public String country_code	= null;
	public String currency_code	= null;
	public int curr_nd			= 0;
	public Date date_stamp 		= null;
	public int ded_cycle_nbr	= 0;
	public String department	= null;
	public int employee	 		= 0;
	public int gm_adj_flag	 	= 0;
	public float gross_pay	 	= 0;
	public String l_atpym_ss_sw	= null;
	public String l_index		= null;
	public float net_pay_amt	= 0;
	public float non_txbl_remun	= 0;
	public String ot_plan_code	= null;
	public int payroll_year	 	= 0;
	public int pens_seq_nbr	 	= 0;
	public int period_nbr	 	= 0;
	public Date per_end_date 	= null;
	public String process_level	= null;
	public String pymset11_ss_sw	= null;
	public String pymset2_ss_sw	= null;
	public String pymset5_ss_sw	= null;
	public String pymset8_ss_sw	= null;
	public String pymset9_ss_sw	= null;
	public int r_status	 		= 0;
	public int time_stamp	 	= 0;
	
	//These values come from joining the PAYMASTR table to EMPACHDIST
	public float dist_amount = 0;
	public int ebank_id = 0;
	public String ebnk_acct_nbr	 = null;
	public String ach_bank	 = "";
	public String bank_acct_nbr	 = "";
	public String partial_ach	 = "";
	public String account_type	 = "";


	public TblEmpAchDist acd 	= new TblEmpAchDist();
	private DateFormat df = new SimpleDateFormat("MM/dd/yyyy");

	public void setBank_code(String bank_code) {
		this.bank_code = bank_code;
	}

	public void setCheck_date(Date check_date) {
		this.check_date = check_date;
	}

	public void setCheck_id(int check_id) {
		this.check_id = check_id;
	}

	public void setCheck_nbr(int check_nbr) {
		this.check_nbr = check_nbr;
	}

	public void setCheck_net(float check_net) {
		this.check_net = check_net;
	}

	public void setCheck_type(String check_type) {
		this.check_type = check_type;
	}

	public void setCompany(int company) {
		this.company = company;
	}

	public void setCountry_code(String country_code) {
		this.country_code = country_code;
	}

	public void setCurrency_code(String currency_code) {
		this.currency_code = currency_code;
	}

	public void setCurr_nd(int curr_nd) {
		this.curr_nd = curr_nd;
	}

	public void setDate_stamp(Date date_stamp) {
		this.date_stamp = date_stamp;
	}

	public void setDed_cycle_nbr(int ded_cycle_nbr) {
		this.ded_cycle_nbr = ded_cycle_nbr;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public void setEmployee(int employee) {
		this.employee = employee;
	}

	public void setGm_adj_flag(int gm_adj_flag) {
		this.gm_adj_flag = gm_adj_flag;
	}

	public void setGross_pay(float gross_pay) {
		this.gross_pay = gross_pay;
	}

	public void setL_atpym_ss_sw(String l_atpym_ss_sw) {
		this.l_atpym_ss_sw = l_atpym_ss_sw;
	}

	public void setL_index(String l_index) {
		this.l_index = l_index;
	}

	public void setNet_pay_amt(float net_pay_amt) {
		this.net_pay_amt = net_pay_amt;
	}

	public void setNon_txbl_remun(float non_txbl_remun) {
		this.non_txbl_remun = non_txbl_remun;
	}

	public void setOt_plan_code(String ot_plan_code) {
		this.ot_plan_code = ot_plan_code;
	}

	public void setPayroll_year(int payroll_year) {
		this.payroll_year = payroll_year;
	}

	public void setPens_seq_nbr(int pens_seq_nbr) {
		this.pens_seq_nbr = pens_seq_nbr;
	}

	public void setPeriod_nbr(int period_nbr) {
		this.period_nbr = period_nbr;
	}

	public void setPer_end_date(Date per_end_date) {
		this.per_end_date = per_end_date;
	}

	public void setProcess_level(String process_level) {
		this.process_level = process_level;
	}

	public void setPymset11_ss_sw(String pymset11_ss_sw) {
		this.pymset11_ss_sw = pymset11_ss_sw;
	}

	public void setPymset2_ss_sw(String pymset2_ss_sw) {
		this.pymset2_ss_sw = pymset2_ss_sw;
	}

	public void setPymset5_ss_sw(String pymset5_ss_sw) {
		this.pymset5_ss_sw = pymset5_ss_sw;
	}

	public void setPymset8_ss_sw(String pymset8_ss_sw) {
		this.pymset8_ss_sw = pymset8_ss_sw;
	}

	public void setPymset9_ss_sw(String pymset9_ss_sw) {
		this.pymset9_ss_sw = pymset9_ss_sw;
	}

	public void setR_status(int r_status) {
		this.r_status = r_status;
	}

	public void setTime_stamp(int time_stamp) {
		this.time_stamp = time_stamp;
	}
	public void setAccount_type(String account_type) {
		this.account_type = account_type;
	}
	public void setBank_acct_nbr(String bank_acct_nbr) {
		this.bank_acct_nbr = bank_acct_nbr;
	}
	public void setDist_amount(float dist_amount) {
		this.dist_amount = dist_amount;
	}
	public void setAch_bank(String ach_bank) {
		this.ach_bank = ach_bank;
	}
	public void setEbank_id(int ebank_id) {
		this.ebank_id = ebank_id;
	}
	public void setEbnk_acct_nbr(String ebnk_acct_nbr) {
		this.ebnk_acct_nbr = ebnk_acct_nbr;
	}
	public void setPartial_ach(String partial_ach) {
		this.partial_ach = partial_ach;
	}

	public String getBank_code() {
		return bank_code;
	}

	public String getCheck_date() {
		return convertDate(check_date);
//		return df.format(check_date).toString();
	}

	public int getCheck_id() {
		return check_id;
	}

	public int getCheck_nbr() {
		return check_nbr;
	}

	public float getCheck_net() {
		return check_net;
	}

	public String getCheck_type() {
		return check_type;
	}

	public int getCompany() {
		return company;
	}

	public String getCountry_code() {
		return country_code;
	}

	public String getCurrency_code() {
		return currency_code;
	}

	public int getCurr_nd() {
		return curr_nd;
	}

	public String getDate_stamp() {
		return df.format(date_stamp).toString();
	}

	public int getDed_cycle_nbr() {
		return ded_cycle_nbr;
	}

	public String getDepartment() {
		return department;
	}

	public int getEmployee() {
		return employee;
	}

	public int getGm_adj_flag() {
		return gm_adj_flag;
	}

	public float getGross_pay() {
		return gross_pay;
	}

	public String getL_atpym_ss_sw() {
		return l_atpym_ss_sw;
	}

	public String getL_index() {
		return l_index;
	}

	public float getNet_pay_amt() {
		return net_pay_amt;
	}

	public float getNon_txbl_remun() {
		return non_txbl_remun;
	}

	public String getOt_plan_code() {
		return ot_plan_code;
	}

	public int getPayroll_year() {
		return payroll_year;
	}

	public int getPens_seq_nbr() {
		return pens_seq_nbr;
	}

	public int getPeriod_nbr() {
		return period_nbr;
	}

	public String getPer_end_date() {
		return df.format(per_end_date).toString();
	}

	public String getProcess_level() {
		return process_level;
	}

	public String getPymset11_ss_sw() {
		return pymset11_ss_sw;
	}

	public String getPymset2_ss_sw() {
		return pymset2_ss_sw;
	}

	public String getPymset5_ss_sw() {
		return pymset5_ss_sw;
	}

	public String getPymset8_ss_sw() {
		return pymset8_ss_sw;
	}

	public String getPymset9_ss_sw() {
		return pymset9_ss_sw;
	}

	public int getR_status() {
		return r_status;
	}

	public int getTime_stamp() {
		return time_stamp;
	}

	public float getDist_amount() {
		return dist_amount;
	}
	public int getEbank_id() {
		return ebank_id;
	}
	public String getEbnk_acct_nbr() {
		return ebnk_acct_nbr;
	}
	public String getAch_bank() {
		return ach_bank;
	}
	public String getBank_acct_nbr() {
		return bank_acct_nbr;
	}
	public String getPartial_ach() {
		return partial_ach;
	}
	public String getAccount_type() {
		return account_type;
	}
	
	
	public TblEmpAchDist getEmpAchDist() {
		return acd;
	}

	public void setEmpAchDist(TblEmpAchDist acd) {
		this.acd = acd;
	}
}
